Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update client_golang to enable native histograms #474

Conversation

pedro-stanaka
Copy link
Contributor

@pedro-stanaka pedro-stanaka commented Nov 11, 2022

Summary

As of client_golang 1.14+ we have support for sparse histograms. This will start to pave the way to allow the exporter not to need bucket configuration per metric anymore.
On top of that, the current behavior is that buckets are still used in the text exposition format, and only when protobuf is negotiated the new native histograms are used, so it should be safe to upgrade right now without changes for older version of prometheus.

@pedro-stanaka pedro-stanaka force-pushed the feat/update-golang-prom-client-native-histograms branch from bd13e9f to a3b2c33 Compare November 11, 2022 15:08
@matthiasr
Copy link
Contributor

Could you please rebase? That should trigger a new CircleCI build, the previous failure was due to an issue on their end. You can drop the first commit, the library update came in with #476 already.

Signed-off-by: Pedro Tanaka <pedro.tanaka@shopify.com>
Signed-off-by: Pedro Tanaka <pedro.tanaka@shopify.com>
@pedro-stanaka pedro-stanaka force-pushed the feat/update-golang-prom-client-native-histograms branch from a3b2c33 to 507b0a2 Compare December 6, 2022 08:49
Signed-off-by: Pedro Tanaka <pedro.tanaka@shopify.com>
@pedro-stanaka
Copy link
Contributor Author

CircleCI still won't work 😦

@matthiasr
Copy link
Contributor

Strange. Can you try logging into CircleCI with GitHub? That should might fix its access to your fork

@matthiasr
Copy link
Contributor

I pushed your commits into a branch in the main repository, and that seems to have triggered something …

@matthiasr
Copy link
Contributor

Alright the tests that that triggered passed, that's good enough for me. Thank you for adding this!

@matthiasr matthiasr merged commit f6ab38f into prometheus:master Dec 7, 2022
matthiasr added a commit that referenced this pull request Dec 7, 2022
Signed-off-by: Matthias Rampke <matthias@prometheus.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants